package ve.lm.hrms_cy.Entity.Request;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;

public class DepartmentQueryRequest {

    private Integer current;
    private Integer size;
    private Long id;
    private String name;
    private LocalDateTime startTime;
    private LocalDateTime endTime;

    @JsonCreator
    public DepartmentQueryRequest(@JsonProperty("current") Integer current ,@JsonProperty("size") Integer size ,@JsonProperty("id") Long id ,@JsonProperty("name") String name ,@JsonProperty("startTime") LocalDateTime startTime ,@JsonProperty("endTime") LocalDateTime endTime){

        this.id=id;
        this.name=name;
        this.startTime=startTime;
        this.endTime=endTime;
        this.current=current;
        this.size=size;

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
